package com.bd.scm.domain.models.module;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mason
 * @since 2019-09-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WT_MODULE")
public class WtModule extends Model<WtModule> {

    private static final long serialVersionUID = 1L;

    @TableId("Module_id")
    private String moduleId;
    @TableField("isReal")
    private Integer isReal;
    @TableField("module_state")
    private Integer moduleState;
    @TableField("Module_dep")
    private Integer moduleDep;
    @TableField("Module_link")
    private Integer moduleLink;
    @TableField("Module_psam")
    private Integer modulePsam;
    @TableField("Module_card")
    private Integer moduleCard;
    @TableField("Module_lname")
    private String moduleLname;
    @TableField("Module_user")
    private Long moduleUser;
    @TableField("Module_set")
    private Integer moduleSet;
    @TableField("Module_img")
    private String moduleImg;
    @TableField("Module_order")
    private Integer moduleOrder;
    @TableField("Module_dbname")
    private String moduleDbname;
    @TableField("Module_place")
    private Integer modulePlace;
    @TableField("Module_size")
    private Integer moduleSize;
    @TableField("Module_path")
    private String modulePath;
    @TableField("Gly_no")
    private String glyNo;
    @TableField("Module_sj")
    private Date moduleSj;
    @TableField("Module_ac")
    private String moduleAc;
    @TableField("module_ini")
    private String moduleIni;
    @TableField("Module_lx")
    private Integer moduleLx;


    @Override
    protected Serializable pkVal() {
        return this.moduleId;
    }

}
